#pragma once
#include "undocommand.h"
class CAnyDocument;


class CDocUndo :
	public CUndoCommand
{
public:
	CDocUndo(CAnyDocument* pAnyDoc);
	virtual ~CDocUndo(void);

	virtual void Commit();
	virtual void Abort();

	virtual void Do(bool bRedo);
private:
	CAnyDocument* m_pAnyDoc;
};
